package com.molichuxing.services.infrastructure.dao;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.UserPayeeBean;

public interface UserPayeeMapper extends RootMapper<UserPayeeBean> {

	/**
	 * 获取用户退款信息
	 * 
	 * @param userId
	 *            用户id
	 * @return
	 */
	UserPayeeBean getByUserId(@Param("userId") Integer userId);

	/**
	 * 根据用户id修改用户退款信息
	 * 
	 * @param userPayeeBean
	 * @return
	 */
	int modifyByUserId(UserPayeeBean bean);
}